<?php
 /******************************************************************************
 *   GunCMS is an avid supporter of open source software. This is the appropriate 
 *   option if you are creating an open source application with a license 
 *   compatible with the GNU GPL license v3.
 *   For details http://www.gnu.org/licenses/gpl.html
 *   DO NOT USE FOR COMMERCIAL WITHOUT PERMISSION
 *
 * GunCMS Version 1.0.3
 * Copyright(c) 2009-2010, T & L GdbR
 * info@guncms.de
 * 
 * http://www.guncms.de
 ********************************************************************************/
class FgcmsConfigBean  {
    function FgcmsConfigBean() {
      
    }
    function getconfig($db,$key) {
      	$sql = sprintf("SELECT * FROM ".TBL_CONFIG_MANAGER." l WHERE l.config_key = '$key'");
      	return $db->get_row($sql);
    }
      
   
}
?>